#include "junix.h"
using namespace std;

class B
{
	public:
	B():i(1),j(2),k(3){}
	int i,j,k;
	protected:
	private:
};

class D:public B
{
	public:
//	D():i(11),j(22),k(33){}
	protected:
	private:
	using B::i;
	using B::j;
	using B::k;
};

int main(int argc, char **argv)
{
	B b;
	D d;
	std::cout<<b.i<<std::endl<<d.k;
}
